package com.tupu.service.permission;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tupu.entity.permission.OrganizationInfo;

import java.util.List;

public interface OrganizationService extends IService<OrganizationInfo> {

    //组织页列表展示 分页 名称模糊搜索
    Page<OrganizationInfo> pageInfo(Integer page, Integer size, String name);

    List<OrganizationInfo> getAll();

    OrganizationInfo selectById(Integer organId);

    void add(OrganizationInfo organization);

    void delByIds(List<Integer> ids);

    Integer updateOrgan(OrganizationInfo organization);
}
